﻿@model List<LTSMZ.life.Model.PImg>

@{
    ViewBag.Title = "ShowPimg";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<h2>商品图片展示</h2>
<div>
    <table>
        <tr>
        @foreach (var i in Model)
        {
                <td style="width:75px;height:50px"><img src="../@i.PImgHref" alt="" /></td>
        }
        </tr>
        <tr>
            @foreach (var i in Model)
            {
                   <td>@i.Pname</td>
            }
        </tr>
    </table>
</div>